package com.pignest.hotel.module.user.ui;

import org.zkoss.zk.ui.Component;
import org.zkoss.zul.Listhead;
import org.zkoss.zul.Listheader;

public class ModelListHead extends Listhead {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3795414193757415055L;

	public Listhead memberListHead(Component parent){
		Listhead head =new Listhead();
		head.setParent(parent);
		head.setSizable(true);
		Listheader header =new Listheader("索引");
		header.setWidth("55px");
		header.setParent(head);
		
		Listheader header1 =new Listheader("姓名");
		header1.setWidth("100px");
		header1.setParent(head);
		
		Listheader header2 =new Listheader("会员类型");
		header2.setWidth("100px");
		header2.setParent(head);
		
		Listheader header3 =new Listheader("性别");
		header3.setWidth("50px");
		header3.setParent(head);
		
		Listheader header4 =new Listheader("手机");
		header4.setWidth("100px");
		header4.setParent(head);
		
		Listheader header5 =new Listheader("证件类型");
		header5.setWidth("80px");
		header5.setParent(head);
		
		Listheader header6 =new Listheader("证件号");
		header6.setWidth("100px");
		header6.setParent(head);
		
		Listheader header7 =new Listheader("邮件");
		header7.setWidth("100px");
		header7.setParent(head);
		
		Listheader header8 =new Listheader("注册方式");
		header8.setWidth("100px");
		header8.setParent(head);
		
		Listheader header9 =new Listheader("发卡渠道");
		header9.setWidth("100px");
		header9.setParent(head);
		
		Listheader header10 =new Listheader("国籍");
		header10.setWidth("100px");
		header10.setParent(head);
		
		Listheader header11 =new Listheader("省份");
		header11.setWidth("100px");
		header11.setParent(head);
		Listheader header12 =new Listheader("卡号");
		header12.setWidth("100px");
		header12.setParent(head);
		return head;
	}
	public Listhead BorrowGoodsListHead(Component parent){
		Listhead head =new Listhead();
		head.setParent(parent);
		head.setSizable(true);
		Listheader header =new Listheader("索引");
		header.setWidth("55px");
		header.setParent(head);
		
		Listheader header1 =new Listheader("物品名称");
		header1.setWidth("100px");
		header1.setParent(head);
		
		Listheader header2 =new Listheader("借用时间");
		header2.setWidth("100px");
		header2.setParent(head);
		
		Listheader header3 =new Listheader("归还时间");
		header3.setWidth("50px");
		header3.setParent(head);
		
		Listheader header4 =new Listheader("数量");
		header4.setWidth("100px");
		header4.setParent(head);
		return head;
	}
}
